<?php

namespace maoxuner\LaravelJsonRpc\Server\Events;

use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use maoxuner\LaravelJsonRpc\Entities\RequestObject;
use maoxuner\LaravelJsonRpc\Entities\ResponseObject;

class RpcHandled
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public function __construct(
        public RequestObject $request,
        public ResponseObject $response
    ) {}
}
